﻿using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QuestionInvestig.MongoHelper
{
    public class MongoHelpe
    {
        public static BsonDocument GetBsonDocument(string json)
        {
            BsonDocument document = MongoDB.Bson.Serialization.BsonSerializer.Deserialize<BsonDocument>(json);
            return document;
        }
    }
}
